package cn.com.eado.uwallpaper.bean;

import java.util.List;

/**
 * Created by lcy on 2015/12/23.
 */
public class MeiziBean {

    /**
     * code : 0
     * msg : success
     * res : {"wallpaper":[{"atime":1.45085419E9,"cid":["4e4d610cdf714d2966000000"],"cr":["美女","复古","文艺","长发","帽子","抬头"],"desc":"","favs":0,"id":"567a0d6b69401b25bbb726cf","img":"http://img0.androidesk.com/download/567a472e69401b32018da499","ncos":1,"preview":"http://img0.androidesk.com/download/567a472d69401b32018da471","rank":0,"tag":["美女","复古","文艺","长发","帽子","抬头"],"thumb":"http://img0.androidesk.com/download/567a472e69401b32018da48f","url":["美女","复古","文艺","长发","帽子","抬头"],"views":0,"wp":"http://img0.androidesk.com/wallpaper?imgid=567a0d6b69401b25bbb726cf","xr":false},{"atime":1.450854186E9,"cid":["4e4d610cdf714d2966000000"],"cr":["美女","复古","文艺","长发","帽子","抬头"],"desc":"","favs":0,"id":"567a15e669401b25b374657e","img":"http://img0.androidesk.com/download/567a472969401b32018da45e","ncos":1,"preview":"http://img0.androidesk.com/download/567a472969401b32018da437","rank":0,"tag":["美女","复古","文艺","长发","帽子","抬头"],"thumb":"http://img0.androidesk.com/download/567a472969401b32018da455","url":["美女","复古","文艺","长发","帽子","抬头"],"views":0,"wp":"http://img0.androidesk.com/wallpaper?imgid=567a15e669401b25b374657e","xr":false}]}
     */

    private int code;
    private String msg;
    private ResEntity res;

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setRes(ResEntity res) {
        this.res = res;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public ResEntity getRes() {
        return res;
    }

    public static class ResEntity {
        /**
         * atime : 1.45085419E9
         * cid : ["4e4d610cdf714d2966000000"]
         * cr : ["美女","复古","文艺","长发","帽子","抬头"]
         * desc :
         * favs : 0
         * id : 567a0d6b69401b25bbb726cf
         * img : http://img0.androidesk.com/download/567a472e69401b32018da499
         * ncos : 1
         * preview : http://img0.androidesk.com/download/567a472d69401b32018da471
         * rank : 0
         * tag : ["美女","复古","文艺","长发","帽子","抬头"]
         * thumb : http://img0.androidesk.com/download/567a472e69401b32018da48f
         * url : ["美女","复古","文艺","长发","帽子","抬头"]
         * views : 0
         * wp : http://img0.androidesk.com/wallpaper?imgid=567a0d6b69401b25bbb726cf
         * xr : false
         */

        private List<WallpaperEntity> wallpaper;

        public void setWallpaper(List<WallpaperEntity> wallpaper) {
            this.wallpaper = wallpaper;
        }

        public List<WallpaperEntity> getWallpaper() {
            return wallpaper;
        }

        public static class WallpaperEntity {
            private double atime;
            private String desc;
            private int favs;
            private String id;
            private String img;
            private int ncos;
            private String preview;
            private int rank;
            private String thumb;
            private int views;
            private String wp;
            private boolean xr;
            private List<String> cid;
            private List<String> cr;
            private List<String> tag;
            private List<String> url;

            public void setAtime(double atime) {
                this.atime = atime;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public void setFavs(int favs) {
                this.favs = favs;
            }

            public void setId(String id) {
                this.id = id;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public void setNcos(int ncos) {
                this.ncos = ncos;
            }

            public void setPreview(String preview) {
                this.preview = preview;
            }

            public void setRank(int rank) {
                this.rank = rank;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public void setViews(int views) {
                this.views = views;
            }

            public void setWp(String wp) {
                this.wp = wp;
            }

            public void setXr(boolean xr) {
                this.xr = xr;
            }

            public void setCid(List<String> cid) {
                this.cid = cid;
            }

            public void setCr(List<String> cr) {
                this.cr = cr;
            }

            public void setTag(List<String> tag) {
                this.tag = tag;
            }

            public void setUrl(List<String> url) {
                this.url = url;
            }

            public double getAtime() {
                return atime;
            }

            public String getDesc() {
                return desc;
            }

            public int getFavs() {
                return favs;
            }

            public String getId() {
                return id;
            }

            public String getImg() {
                return img;
            }

            public int getNcos() {
                return ncos;
            }

            public String getPreview() {
                return preview;
            }

            public int getRank() {
                return rank;
            }

            public String getThumb() {
                return thumb;
            }

            public int getViews() {
                return views;
            }

            public String getWp() {
                return wp;
            }

            public boolean isXr() {
                return xr;
            }

            public List<String> getCid() {
                return cid;
            }

            public List<String> getCr() {
                return cr;
            }

            public List<String> getTag() {
                return tag;
            }

            public List<String> getUrl() {
                return url;
            }
        }
    }
}
